.dialog-box {
    font-size: 14px;
    width: 330px;
    height: 100px;
    background-color: #3b7c8d;
    color: #fff;
    border: 1px solid #1d5564;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.2);
    -mz-box-shadow: 0 1px 5px rgba(0,0,0,.2);
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    position: absolute;
    width: 200px;
    height: 80px;
    margin-top: -51px;
    margin-left: -101px;
    z-index: 9999;
    color: #666;
    visibility: hidden;
    opacity: 0;
}

.dialog-box .dialog-title {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    font-weight: bold;
    height: 2em;
    line-height: 2em;
    overflow: hidden;
    padding: 0 .8em;
    background-color: #246070;
    cursor: move;
    color: #bad3d9;
}

.dialog-box .dialog-content {
    border-top: 1px solid #1d5564;
    padding: 1em 1em .4em 1em;
    position: absolute;
    top: 2em;
    right: 0;
    bottom: 2em;
    left: 0;
    overflow: auto;
    color: #fff;
}

.dialog-box .dialog-content iframe {
    display: block;
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
}

.dialog-box .dialog-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #f5f5f5;
    border-left: 1px solid #ccc;
}

.dialog-box .dialog-content::-webkit-scrollbar-thumb {
    background-color: #666;
    border: none;
}

.dialog-box .dialog-content::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.dialog-box .dialog-content::-webkit-scrollbar-thumb:active {
    background-color: #444;
}

.dialog-box .dialog-action {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2em;
    padding: .5em;
    background-color: #246070;
    border-top: 1px solid #1d5564;
    text-align: right;
}

.dialog-box .dialog-action .btn {
    text-decoration: none;
    border: none;
    outline: none;
    color: inherit;
    font-weight: bold;
    color: #fff;
    background-color: #3b7c8d;
    border: 1px solid #599cad;
    -webkit-border-radius: .2em;
    -moz-border-radius: .2em;
    border-radius: .2em;
    padding: .2em .5em;
    margin-left: .2em;
    line-height: 2em;
    cursor: pointer;
}

.dialog-box .dialog-close,.dialog-box .dialog-minmax {
    border: none;
    outline: none;
    background: none;
    font: inherit;
    font-family: Arial,Sans-Serif;
    font-style: normal;
    font-weight: bold;
    font-size: 150%;
    line-height: 1.4em;
    color: #0c3642;
    text-decoration: none;
    position: absolute;
    top: 0;
    right: .3em;
    text-align: center;
    cursor: pointer;
}

.dialog-box .dialog-minmax {
    right: 1.5em;
}

.dialog-box .dialog-close:focus,.dialog-box .dialog-minmax:focus,.dialog-box .dialog-action .btn:focus {
    border-width: 0;
    outline: none;
}

.dialog-box .dialog-close:hover,.dialog-box .dialog-minmax:hover {
    color: #031c23;
}

.dialog-box .dialog-close:focus,.dialog-box .dialog-minmax:focus {
    color: #C90000;
}

.dialog-box .dialog-close:active,.dialog-box .dialog-minmax:active {
    color: #002b36;
}

.dialog-box .dialog-action .btn:hover {
    border-color: #bbb;
}

.dialog-box .dialog-action .btn:focus {
    border-color: #aaa;
    border-width: 1px;
}

.dialog-box .dialog-action .btn:active {
    border-color: #aaa;
    background-color: #327282;
}

.dialog-box + .dialog-box-overlay {
    background-color: black;
    opacity: .2;
    filter: alpha(opacity=20);
    position: fixed!important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9997;
    display: none;
}

.dialog-box.fixed-dialog-box {
    position: fixed!important;
    position: absolute;
}

.dialog-box.minimize {
    width: 2em!important;
    height: 2em!important;
    overflow: hidden!important;
    margin-top: 0!important;
    margin-left: 0!important;
    top: -1px!important;
    left: 1em!important;
}

.dialog-box.minimize .dialog-title {
    color: transparent;
    text-shadow: none;
    text-indent: -9999px;
}

.dialog-box.minimize .dialog-minmax {
    right: 0;
    left: 0;
}

.dialog-box.minimize .dialog-close,.dialog-box.minimize .dialog-content,.dialog-box.minimize .dialog-action {
    display: none;
    visibility: hidden;
}